/**
 * 大米应聘（单人）
 */
const mongoose = require('mongoose');
const config = require('../config');

const ObjectSchema = new mongoose.Schema(
  {
    openid: {
      type: String,
      index: true,
    },
    title: String,
    player_character: String,// ${class} 或者 ${class}${specialization}
    item_level: String,
    score: Number,
    game_images: [{ type: String }],
    content: String,
    enable: {
      type: Boolean,
      default: true,
    }
  },
  config,
);

exports.MythicApply = mongoose.model('Mythic_Apply', ObjectSchema, 'mythic_apply');
